package com.plian.system.entity.bpa;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.plian.Tools.DateUtil;
import com.plian.system.mybatis.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 经营考核档位主表实体类
 *
 */
@Data
@TableName("bpa_business_assessment")
@EqualsAndHashCode(callSuper = true)
@ApiModel("经营考核档位主表实体类")
public class BusinessAssessment extends BaseEntity {
	/**
	 * 指标类型code-字典138
	 */
	@ApiModelProperty(value = "指标类型code-字典138")
	private String dictIndicatorsCode;
	/**
	 * 指标id
	 */
	@ApiModelProperty(value = "指标id")
	private String indicatorsId;
	/**
	 * 指标名称
	 */
	@ApiModelProperty(value = "指标名称")
	private String indicatorsName;
	/**
	 * 操作时间
	 */
	@DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
	@JsonFormat(pattern = DateUtil.PATTERN_DATE, timezone = "Asia/Shanghai")
	@ApiModelProperty(value = "操作时间")
	private Date modifyTime;
	/**
	 * 适用年份
	 */
	@ApiModelProperty(value = "适用年份")
	private String isYear;
	/**
	 * 档位类型-字典169
	 */
	@ApiModelProperty(value = "档位类型-字典169")
	private String dwType;
	/**
	 * 档位-单位-字典170
	 */
	@ApiModelProperty(value = "档位-单位-字典170")
	private String dwUnit;
	/**
	 * 计分标准
	 */
	@ApiModelProperty(value = "计分标准")
	private String scoreStandard;
	/**
	 * 计分标准-单位-字典170
	 */
	@ApiModelProperty(value = "计分标准-单位-字典170")
	private String scoreStandardUnit;
	/**
	 * 状态 1否 2是
	 */
	@ApiModelProperty(value = "状态 0新增 1否 2是")
	private Integer enabled;
}
